<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Product extends CI_Controller {

    protected $assets;
    public function __construct()
    {
        parent::__construct();
        // 初始化样式
        $this->assets = $this->lw_assets->getAssets(array('cubeportfolio'));
    }

    public function index()
    {
//        $this->assets['pageCss'] = array(base_url('assets/pages/home/css/index.css'));
        $this->assets['pageJs'] = array(base_url('assets/pages/product/script/index.js'));
        $data['assets'] = $this->assets;
        $data['pageTitle'] = '主页';
        $this->lw_load->view('product/index',$data);
    }
}
